/* 系统管理页面专用样式 */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
    display: flex;
    min-height: 100vh;
}
.nav {
    width: 240px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}
.logo {
    padding: 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
}
.logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}
.logo p {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}
.content {
    flex: 1;
    padding: 10px 0;
}
.search, .classify {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.2s;
}
.search:hover, .classify:hover {
    background: #f5f5f5;
}
.search svg, .classify svg {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}
.search a, .classify a {
    color: #2c2c2c;
    text-decoration: none;
    font-size: 14px;
}
.exit {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    color: #d81e06;
    margin-top: auto;
    transition: background 0.2s;
}
.exit:hover {
    background: #f5f5f5;
}
.exit svg {
    width: 20px;
    height: 20px;
}
.exit p {
    margin: 0 0 0 10px;
}
.main {
    flex: 1;
    padding: 20px;
}
.inform {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}
.username {
    margin-left: 10px;
    font-weight: bold;
    color: #1684FC;
}
.system-features {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}
.system-features h2 {
    color: #1684FC;
    font-size: 20px;
}
.feature-block {
    margin-bottom: 32px;
}
.feature-block h3 {
    margin-bottom: 12px;
    color: #333;
}
#logManager button {
    margin-right: 10px;
    padding: 6px 16px;
    background: #1684FC;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}
#logManager button:hover {
    background: #1268c4;
}
#logList {
    margin-top: 16px;
    background: #f9f9f9;
    border-radius: 4px;
    padding: 10px;
    font-size: 13px;
    color: #222;
    max-height: 300px;
    overflow: auto;
}

/* 模态框样式 */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.close:hover {
    color: #333;
}

.modal-body {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

/* 按钮样式 */
.btn-close, .btn-respond, .btn-submit {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-close {
    background: #6c757d;
    color: white;
}

.btn-close:hover {
    background: #5a6268;
}

.btn-respond {
    background: #1684FC;
    color: white;
}

.btn-respond:hover {
    background: #1268c4;
}

.btn-submit {
    background: #28a745;
    color: white;
}

.btn-submit:hover {
    background: #218838;
}

/* 反馈详情样式 */
.feedback-detail {
    line-height: 1.6;
}

.feedback-detail .detail-item {
    margin-bottom: 16px;
}

.feedback-detail .detail-label {
    font-weight: 600;
    color: #555;
    margin-bottom: 4px;
    display: block;
}

.feedback-detail .detail-value {
    color: #333;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 4px;
    border-left: 3px solid #1684FC;
}

.feedback-detail .detail-content {
    white-space: pre-wrap;
    word-wrap: break-word;
}

.feedback-detail .admin-response {
    background: #e8f4fd;
    border: 1px solid #bee5eb;
    border-radius: 4px;
    padding: 12px;
    margin-top: 16px;
}

.feedback-detail .admin-response h4 {
    margin: 0 0 8px 0;
    color: #1684FC;
    font-size: 14px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #555;
}

.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    resize: vertical;
    box-sizing: border-box;
}

.form-group textarea:focus {
    outline: none;
    border-color: #1684FC;
    box-shadow: 0 0 0 2px rgba(22, 132, 252, 0.1);
}

/* 反馈表格样式 */
.feedback-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feedback-table th,
.feedback-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.feedback-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #555;
}

.feedback-table tr:hover {
    background: #f8f9fa;
}

.feedback-table .status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.feedback-table .status.pending {
    background: #fff3cd;
    color: #856404;
}

.feedback-table .status.responded {
    background: #d4edda;
    color: #155724;
}

.feedback-table .btn-view,
.feedback-table .btn-respond {
    padding: 4px 8px;
    margin-right: 4px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.feedback-table .btn-view {
    background: #1684FC;
    color: white;
}

.feedback-table .btn-respond {
    background: #28a745;
    color: white;
}

.feedback-table .btn-view:hover {
    background: #1268c4;
}

.feedback-table .btn-respond:hover {
    background: #218838;
}

.no-feedback {
    text-align: center;
    padding: 40px;
    color: #999;
    font-style: italic;
}